package com.red.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName
public class Stock {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String odd;
    private Date ywDate;
    private Integer roleId;
    private Integer providerId;
    private Integer depotId;
    private Double qtCost;
    private Double bdHandle;
    private Integer invoiceStatus;
    @TableField(exist = false)
    private List<Stock> stockList;
}
